.container {
    padding-top: 216rpx;
    padding-bottom: 108rpx;
}

.navbar-wrap {
    position: fixed;
    left: 0;
    top: var(--window-top);
    width: 100%;
    height: 216rpx;
    z-index: 10;
}

/** 搜索框 begin */
.mp-search {
    height: 122rpx;
    justify-content: flex-start;
    padding: 0 24rpx;

    &__wrap {
        padding-top: 18rpx;

        .type-icon-box {
            color: #ffffff;

            .template__icon {
                font-size: 48rpx;
                color: #ffffff;
            }

            .type-icon-text {
                font-size: 20rpx;
            }
        }

        .mp-search-box {
            margin-left: 30rpx;
            padding-left: 50rpx;
            width: 620rpx;
            overflow: hidden;
            justify-content: flex-start;
            align-items: center;
            background-color: $theme-main-bg-color;
            border-radius: 36rpx;

            .search-icon {
                color: #8e8e93;
                margin: 0 20rpx 0 32rpx;
                font-size: 26rpx;
            }

            .search-input {
                // margin-right: 30rpx;
                margin-left: 16rpx;
                flex: 1;
                height: 72rpx;
                font-size: 28rpx;
                background-color: $theme-main-bg-color;
            }

            .search-btn {
                padding: 0 32rpx;
                height: 72rpx;
                font-size: $theme-size-base;
                color: $theme-color-main-base;
            }
        }
    }
}

/** 搜索框 end */

/** 排序操作区域 begin */
.sort-bar {
    display: flex;
    width: 100%;
    height: 96rpx;
    background-color: $theme-main-bg-color;

    .sort-bar__item {
        flex: 1;
        display: flex;
        justify-content: center;
        align-items: center;
        height: 100%;
        font-size: 30rpx;
        color: $theme-color-main-base;
        position: relative;
    }

    .p-box {
        display: flex;
        flex-direction: column;

        .fyicon {
            display: flex;
            align-items: center;
            justify-content: center;
            width: 30rpx;
            height: 14rpx;
            line-height: 1;
            margin-left: 4rpx;
            font-size: 26rpx;
            color: #888;
            //   &.active {
            //   }
        }

        .down {
            transform: scaleY(-1);
        }
    }
}

/** 排序操作区域 end */

/* 分类 */
.cate-mask {
    position: fixed;
    right: 0;
    top: var(--window-top);
    bottom: 0;
    width: 100%;
    background: rgba(0, 0, 0, 0);
    z-index: 95;
    transition: 0.3s;

    .cate-content {
        width: 330rpx;
        height: 100%;
        background-color: $theme-panel-bg-color;
        // float: left;
        transform: translateX(-100%);
        transition: 0.3s;
    }

    &.none {
        display: none;
    }

    &.show {
        background: rgba(0, 0, 0, 0.4);

        .cate-content {
            transform: translateX(0);
        }
    }
}

.cate-list {
    display: flex;
    flex-direction: column;
    height: 100%;
    padding-top: 48rpx;
    padding-bottom: calc(140rpx + var(--safe-area-inset-bottom));
    // height: 1282rpx;

    .cate-item {
        color: $theme-color-base;
        display: flex;
        align-items: center;
        margin-bottom: 48rpx;
        // height: 48rpx;
        padding-left: 40rpx;
        font-size: 28rpx;
        position: relative;
    }

    /** 分类选中状态 begin */
    .cate-item.active {
        font-weight: 500;
        border-left: 6rpx solid;
    }

    /** 分类选中状态 end */
}

/* 商品列表 */
.goods {
    margin: 0 24rpx;

    .trick-title {
        margin-bottom: 64rpx;
    }
}

/** 商品区域 begin */
.goods-wrap {
    .goods-tag {
        display: flex;
        align-items: center;
        justify-content: center;
        width: 66rpx;
        height: 30rpx;
        border-radius: 17rpx;
        overflow: hidden;
        font-size: 16rpx;
        color: #ffffff;
    }

    .goods-num {
        font-size: $theme-size-small-base;
        color: $theme-color-ghost-base;
    }
}

/** 商品区域 end */

.no-data-wrap {
    .prompt-box {
        height: 414rpx;
        background: #fff;

        .prompt-img {
            margin-bottom: 16rpx;
            width: 158rpx;
            height: 118rpx;
        }

        .prompt-txt {
            color: #a1a1a1;
            font-size: 20rpx;
        }
    }
}